package steed.springboot.servlet;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebInitParam;
import javax.servlet.annotation.WebServlet;

import com.alibaba.druid.support.http.StatViewServlet;

import steed.util.base.PropertyUtil;

@WebServlet(urlPatterns="/druid/*",initParams={
		@WebInitParam(name = "resetEnable", value = "true"),
		@WebInitParam(name = "loginUsername", value = "battlesteed"),
		@WebInitParam(name = "loginPassword", value = "123456"),
})
public class DruidStatViewServlet extends StatViewServlet{

	@Override
	public void init() throws ServletException {
		super.init();
		password = PropertyUtil.getConfig("druidStatViewPassword");
	}

}
